package com.ruoyi.cderp.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产退料明细对象 production_return_item
 *
 * @author ruoyi
 * @date 2025-06-15
 */
public class ProductionReturnItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 退料单ID */
    @Excel(name = "退料单ID")
    private String returnId;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private String warehouseId;


    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 物料ID */
    @Excel(name = "物料ID")
    private String materialId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 实际数量 */
    @Excel(name = "实际数量")
    private BigDecimal actualQuantity;

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setReturnId(String returnId)
    {
        this.returnId = returnId;
    }

    public String getReturnId()
    {
        return returnId;
    }
    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }
    public void setMaterialId(String materialId)
    {
        this.materialId = materialId;
    }

    public String getMaterialId()
    {
        return materialId;
    }
    public void setMaterialCode(String materialCode)
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode()
    {
        return materialCode;
    }
    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName()
    {
        return materialName;
    }
    public void setActualQuantity(BigDecimal actualQuantity)
    {
        this.actualQuantity = actualQuantity;
    }

    public BigDecimal getActualQuantity()
    {
        return actualQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("returnId", getReturnId())
            .append("warehouseId", getWarehouseId())
            .append("materialId", getMaterialId())
            .append("materialCode", getMaterialCode())
            .append("materialName", getMaterialName())
            .append("actualQuantity", getActualQuantity())
            .append("remark", getRemark())
            .toString();
    }
}
